package com.weimob.mcloud.wechatwork.customer.service.user.module.bo.customer;

import com.weimob.mcloud.wechatwork.customer.service.user.base.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author yu liu  2022/1/11 15:23
 * Description
 * Version 1.0.0
 **/
@Data
public class CustomerCouponsBO extends BaseRequest implements Serializable {
    private static final long serialVersionUID = 4462811829001111970L;

    @ApiModelProperty("优惠券标题 ")
    private String couponTitle;

    @ApiModelProperty("优惠券类型（0:代金券；1:折扣券；2:兑换券 5：随机券；9-免运费）")
    private Integer type;

    @ApiModelProperty("优惠券减免折扣 ")
    private BigDecimal discount;

    @ApiModelProperty("代金券减免金额 ")
    private BigDecimal cashTicketAmt;

    @ApiModelProperty("随机金额券 最低减免金额 ")
    private BigDecimal minCashTicketAmt;

    @ApiModelProperty("随机金额券 最高减免金额 ")
    private BigDecimal maxCashTicketAmt;

    @ApiModelProperty("优惠说明 ")
    private String detail;

    @ApiModelProperty("0 无门槛减免金额 1 固定减免 2 每满多少减多少")
    private Integer subCouponType;

    @ApiModelProperty("优惠券减免满足条件金额")
    private BigDecimal cashTicketCondition;

    @ApiModelProperty("过期时间")
    private Long expDate;

    @ApiModelProperty("运费券减免类型：1-满X元减N元运费；2-固定减免特定金额运费（即无门槛减N元运费）；3-满X元包邮；4-整单免邮;5-排除超过特定金额的运费")
    private Integer freightReduceType;
}
